package com.leo.usercenter;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class LombokTest {
    public static void main(String[] args) {
        UserRegisterDTO userRegisterDTO = new UserRegisterDTO();
        UserRegisterDTO build = UserRegisterDTO.builder()
                .email("xxx")
                .password("xxx")
                .confirmPassword("x")
                .agreement(true)
                .build();
        log.info("构造出来的UserRegisterDTO = {}", build);
    }
}



